# Description : DBusMenu protokolünün Qt5 uygulamasını sağlayan kitaplık
# URL: https://www.kde.org/
# Packager: alihan-ozturk28@hotmail.com yasarciv67@gmail.com
# Depends on: cmake qt5 qjson libdbusmenu-qt 

name=libdbusmenu-qt5
_name=libdbusmenu-qt
release=1
version=0.9.3+16.04.20160218
source=(http://archive.ubuntu.com/ubuntu/pool/main/libd/$_name/libdbusmenu-qt_$version.orig.tar.gz)

build() {
cd libdbusmenu-qt-$version
cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release  \
      -DCMAKE_INSTALL_LIBDIR=lib  \
      -DWITH_DOC=OFF              \
      -Wno-dev -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
make DESTDIR=$PKG install
}
